package com.qpkj.oms.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qpkj.common.annotation.Excel;
import com.qpkj.common.core.domain.BaseEntity;

/**
 * 员工业绩对象 oms_achievement
 *
 * @author ruoyi
 * @date 2022-12-20
 */
@Data
@ToString
public class OmsAchievement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long achievementId;

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 车间(1擦球；2电镀；3彩绘；4包装)
     */
    @Excel(name = "车间(1擦球；2电镀；3彩绘；4包装)")
    private String achievementWorkshop;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date achievementDate;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String achievementName;

    /**
     * 工号
     */
    @Excel(name = "工号")
    private String achievementJobno;

    /**
     * 任务编号
     */
    @Excel(name = "任务编号")
    private String taskNo;

    /**
     * 货号
     */
    @Excel(name = "货号")
    private String goodsNo;

    /**
     * 品名规格
     */
    @Excel(name = "品名规格")
    private String nameSku;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Integer achievementNum;

    /**
     * 条数
     */
    @Excel(name = "条数")
    private Integer achievementCount;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal achievementPrice;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal achievementMoney;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String productName;

    /**
     * 插条
     */
    @Excel(name = "插条")
    private String achievementCutting;

    /**
     * 颜色
     */
    @Excel(name = "颜色")
    private String achievementColor;

    /**
     * 合计数量
     */
    @Excel(name = "合计数量")
    private Integer achievementTotal;

    /**
     * 微机数量
     */
    @Excel(name = "微机数量")
    private Integer microcomputerCount;

    /**
     * 特机数量
     */
    @Excel(name = "特机数量")
    private Integer machineCount;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String achievementRemark;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
}
